This guide describes the sequence of steps you should follow if you want to upgrade Wialon Local from version 1704 to version 1804.
In order for Wialon local version 1704 and above to function correctly, the Node.js 6.x package is required. Support for older versions of Node.js, starting with the release of 1804, is discontinued.
The official Debian 8 and Debian 9 repositories include earlier versions of packages. When installing from our distribution package, the required Node.js version is installed automatically.
Log in to the terminal on behalf of the main user (root) and run the following commands:
cd /home/wialon/wlocal/ service wlocal stop ./adf_script stop apt-get install -y curl curl -sL https://deb.nodesource.com/setup_6.x | bash - apt-get install -y nodejs npm -g install forever npm install chown -R wialon:wialon /home/wialon/ service wlocal restart
To update Node.js, you can also contact technical support. In this case, in the letter specify SSH credentials (IP, login and password) to access the server console.
The instruction is also located on the official site of the Node.js developer.
To upgrade Wialon Local from version 1904 to version 2004, follow the steps below.
Install the pigz and curl utilities. To do this, log in to the terminal on behalf of the main user (root) and run the following command:
apt-get install pigz curl
Upgrade Node.js to the version 10.x, by running on behalf of the main user (root) the following commands:
cd /home/wialon/wlocal/ service wlocal stop ./adf_script stop apt-get install -y curl curl -sL https://deb.nodesource.com/setup_10.x | bash - apt-get install -y nodejs npm -g install forever npm install chown -R wialon:wialon /home/wialon/ service wlocal restart
Check the availability of your sites after they restart. To update Node.js, you can also contact technical support. In this case, in the letter specify SSH credentials (IP, login and password) to access the server console. The instruction is also located on the official site of the Node.js developer.
Install the version 2004 of Wialon Local.